/*
 * @ModuleName:
 * @Author: zhuzhaofeng
 * @Date: 2020-05-08 21:34:16
 */
import { array2Tree } from "@/utils";
const getters = {
  menusForTree: (state) => {
    return array2Tree(state.menus, "id", "parent", "root");
  },
};
export default getters;
